<?php
	echo 4;
	phpinfo();exit;
//
$headers .= "From: enetRecruiter Support <support@enetrecruiter.com>\r\n";
$headers .= "Cc: yangdongmy@gmail.com\r\n";
$headers .= "Content-type: text/html; charset=utf-8"."\r\n";

$subject  = "From User Login Information";

$to       =  "terry.xh@gmail.com";
$content  = '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
				<html xmlns="http://www.w3.org/1999/xhtml">
				<head>
				<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
				<title>enetRecruiter, LLC.</title>
				<link href="style/master.css" rel="stylesheet" type="text/css" />
				</head>
				<body>
					<table width="100%" border="0" cellpadding="4" cellspacing="1" class="tableGrey">
					<tr>
					<td colspan="2">This is to inform you that you\'ve completed a certification and authorization for the following job opportunity.</td>
					</tr>
					  <tr>
					  <td width="40%">1) ER Job Req #: </td><td>'.$ar[in_jobid].'</td>
				  </tr>
				  <tr>
					  <td>2) Employer: </td><td>'.$ar[in_epname].'</td>
				  </tr>
				  <tr>
					  <td>3) Job Title: </td><td>'.$ar[in_jobtitle].'</td>
				  </tr>
				  <tr>
					  <td>4) Candidate Name:  </td><td>'.$ar[in_rename].'</td>
				  </tr>
				  <tr>
					  <td>5) Candidate Email:  </td><td>'.$ar[in_reemail].'</td>
				  </tr>
				  <tr>
					  <td>6) Recruiter Name: </td><td>'.$ar[in_rcname].'</td>
				  </tr>
				  <tr>
					  <td colspan="2" align="center">Certification and Authorization Response: '.$stat.'</td>
				  </tr>

				   <tr>
						<td colspan="2" ><b>Certification and Authorization Statement:</b> I certify that I have not interviewed for this job and that I would like my recruiter to recommend me as a qualified candidate to this employer.  Furthermore, I will notify my recruiter and enetRecruiter immediately upon accepting any job offer from this employer by sending an email to my recruiter and to notify@enetrecruiter.com*.  <br><br>
					  * Candidates can claim a gift certificate to<b> Starbucks Coffee</b> or <b>Netflix Movies</b> if your notification is received by enetRecruiter within 30 days of job offer date.  
						</td>
					</tr>
				  </table>
				  </body>
				  <html>';

mail($to, $subject , $content, $headers);
?>